home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 7 / Apprentice-Release7.iso / Source Code / Libraries / WASTE 1.3a5 / Demo / Source / WEDemoMain.c < prev    next >
Encoding:
C/C++ Source or Header  |  1997-05-11  |  319 b   |  27 lines  |  [TEXT/CWIE]

  1. /*
  2.     WASTE Demo Project:
  3.     Main Program
  4.  
  5.     Copyright © 1993-1997 Marco Piovanelli
  6.     All Rights Reserved
  7.  
  8.     C port by John C. Daub
  9. */
  10.  
  11. #ifndef __WEDEMOAPP__
  12. #include "WEDemoIntf.h"
  13. #endif
  14.  
  15. void main ( void )
  16. {
  17.     if ( Initialize ( ) == noErr )
  18.     {
  19.         do
  20.         {
  21.             ProcessEvent ( ) ;
  22.         } while ( ! gExiting ) ;
  23.     }
  24.  
  25.     Finalize ( ) ;
  26. }
  27.